package com.thirteenClassicsServer.mapper;

import com.thirteenClassics.dto.EntryPageQueryDTO;
import com.thirteenClassics.entity.Book;
import com.thirteenClassics.entity.Entry;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EntryMapper {

    List<Book> AllEntryQuery(EntryPageQueryDTO entryPageQueryDTO);

    void insert(Entry entry);

    Entry selectEntryBook(Entry entry);

    void update(Entry entry);
}
